#include <iostream>
#include "Dir.hpp"
#include "StringUtil.hpp"

using namespace std;
using namespace sh;

int main()
{
    std::cout.setf(std::ios_base::boolalpha);

    std::string path = "E:/Code/C++/my-utils/cmake-build-debug-local/1/2/3/";
//    cout << sh::Dir::currentWorkPath().c_str() << endl;
//    cout << sh::Dir::setCurrentWorkPath(path) << endl;
//    cout << sh::Dir::currentWorkPath().c_str() << endl;
//    cout << sh::Dir::exists(path) << endl;
//    cout << sh::Dir::mkdir(path) << endl;
    string str = sh::StringUtil::replace(path, "/", "\\");
    cout << str << endl;
    cout << sh::Dir::remove(path) << endl;
    return 0;
}
